<template>
  <div v-show="flagA">这是b.vue</div>
</template>

<script>

import { mapState } from "vuex";
export default {
  computed: {
    ...mapState("zyh", ["flagA"]),
  },
};
</script>

<style scoped>
div {
  width: 100%;
  height: 100%;
  background: red;
}
</style>
